<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/commond/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>档期网</title>
		<link rel="shortcut icon" href="${ctx }/image/logo_ico.ico" />
		<s:include value="/commond/keydesc.jsp"></s:include>
		<!-- CSS -->
		<link type="text/css" href="${ctx}/jqueryui/css/start/jquery-ui-1.8.7.custom.css" rel="stylesheet" />
		<link href="${ctx }/css/login_page.css" rel="stylesheet" type="text/css" />
		<link href="${ctx }/css/request.css" rel="stylesheet" type="text/css" />
		<!-- JavaScript -->
		<script type="text/javascript">
			var r="<%=(request.getParameter("r")==null ? "" : request.getParameter("r")) %>";
			var ctx="${ctx }";
		</script>
		<script type="text/javascript" src="${ctx }/js/common/jquery.js"></script>
		<script src="${ctx }/jqueryui/js/jquery-ui-1.8.7.custom.min.js" type="text/javascript"></script>
		<script type="text/javascript">var jQ = jQuery.noConflict();</script>
		<script type="text/javascript" src="${ctx }/js/registerRequest.js"></script>
		<script type="text/javascript" src="${ctx }/js/regjs/common.js"></script>
	</head>
	<body>
		<div class="login_page">
			<div class="title">
		    	<div style="background: url('./image/top_fullscreenlight.png') repeat-y; width: 900px; height: 70px; margin: 0px auto;">
			    	<div class="logo" style="margin: 10px 0 0 0;">
			        </div>
		        </div>
		    </div>
		    <div class="login_con">
		    	<div class="request">
		        	<div class="register_intr">
		                <div class="reg_title">好友请求</div>
		                <div class="reg_back">
		                    <a onclick="" href="${ctx }">网站首页</a>
		                </div>
		            </div>
		            <div class="reg_choose">
		                <div><input type="radio" name="rg_type" onclick="binding(1)" /><span>注册成为档期用户</span></div>
		                <div><input type="radio" name="rg_type" onclick="binding(2)" /><span>我已经用另外的账号注册过</span></div>
		            </div>
		            <div id="type_1">
		                <div class="reg_info">
		                    <p>档期网是一家基于各类日程分享的专业社交网站，创建于2011年。我们旨在为用户提供更好地时间管理及日程安排的在线服务，帮助用户适时的找到自己想要参加的社交活动，并为用户的工作生活等日常活动作出便捷合理的规划。加入档期网，为了让您的生活更加轻松精彩！</p>
		                </div>
		                <div class="register_box">
		                	<div class="reg_type">
		                        <div><input type="radio" name="rg" onclick="itEmail()"/><span></span></div>
		                        <div><input type="radio" name="rg" onclick="otherEmail()"/><span>使用另一个邮箱注册</span></div>
		                    </div>
		                    <div class="email">
		                        <span>电子邮箱：</span>
		                        <input type="text" value="" disabled="disabled" onblur="checkExistEmail(this)"/>
		                        <b class=""></b>
		                    </div>
		                    <div class="password">
		                        <span>密码：</span>
		                        <input type="password" onblur="checkPassWord(this)"/>
		                        <b class="">6-20个字符.</b>
		                    </div>
		                    <div class="password_repeat">
		                        <span>重复密码：</span>
		                        <input type="password" onblur="checkpassWord2(this)"/>
		                        <b class="">请再次输入密码.</b>
		                    </div>
		                    <div class="real_name">
		                        <span>真实姓名：</span>
		                        <input type="text" onblur="checkName(this)"/>
		                        <b>请填写真实的姓名,以便您的好友能快速找到您和找回密码.</b>
		                    </div>
		                    <div class="agree">
		                        <span>好友请求：</span>
		                        <input type="radio" name="registerAgree" checked="checked"/><span style="width:auto">加为好友</span>
		                        <input type="radio" name="registerAgree" /><span style="width:auto">拒绝加为好友</span>
		                    </div>
		                    <div class="wrap_numb">
		                        <img src="${ctx }/verifycode.do" onclick="changeImg(this)"/>
		                        <a onclick="changeImg(this)">看不清楚，换一张？</a>
		                    </div>
		                    <div class="wrap">
		                        <span>验证码：</span>
		                        <input type="text" onblur="checkVerifyCode(this)"/>
		                        <b class=""></b>
		                    </div>
		                    <div class="register_btm">
		                        <input type="button" value="确定" onclick="registerRequestSubmit()"/>
		                        <input type="button" value="取消" />
		                    </div>
		                </div>
		            </div> 
		            <div id="type_2">
		                <div class="register_box">
		                    <div class="email">
		                        <span>用户名：</span>
		                        <input type="text"/>
		                        <b class=""></b>
		                    </div>
		                    <div class="password">
		                        <span>密码：</span>
		                        <input type="password" />
		                        <b class=""></b>
		                    </div>
		                    <div class="agree">
		                        <span>绑定邮箱：</span>
		                        <input type="radio" name="binding" checked="checked"/><span style="width:auto">绑定</span>
		                        <input type="radio" name="binding" /><span style="width:auto">不绑定</span>
		                    </div> 
		                    <div class="agree">
		                        <span>好友请求：</span>
		                        <input type="radio" name="loginAgree" checked="checked"/><span style="width:auto">加为好友</span>
		                        <input type="radio" name="loginAgree" /><span style="width:auto">拒绝加为好友</span>
		                    </div>                
		                    <div class="register_btm">
		                        <input type="button" value="确定" onclick="registerRequestSubmit()"/>
		                        <input type="button" value="取消" />
		                    </div>
		                </div>            	
		            </div>    
		        </div>
		    </div>
		    <div class="copyright">
		    	<span>Copyright &copy; 2011 档期</span>
		    </div>
		</div>
		<div id='ALERT' style='display: none;' title='提示'><p style="center"></p></div>
		<script type="text/javascript">
			jQ("#ALERT").dialog({
				modal: true,
				bgiframe: true,
				autoOpen: false,
				resizable:false,
				closeOnEscape:false,
				draggable:true,
				buttons: {
					Ok: function() {
						jQ(this).trigger("LFun");
						jQ(this).dialog('close');
					}
				},
				close: function() {},
				open:function(){}
			});
		</script>
	</body>
</html>